PaymentPlugins\WooCommerce\PPCP\PaymentHandler A

Total Complexity 54
Dependencies 14
Dependents 8
Total lines 336
Lines of code 240
Logical lines of code 139
Comment lines 46
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
process_payment()
A
45 8 41
process_void()
A
50 8 29
process_capture()
A
47 7 35
process_refund()
A
48 7 32
get_update_order_params()
S
53 3 23
payment_complete()
S
59 2 13
save_order_meta_data()
S
59 2 13
get_create_order_params()
S
64 2 10
is_processing()
S
71 2 6
get_payment_source()
S
69 2 7
add_payment_complete_message()
S
73 2 4
get_paypal_order_id_from_request()
S
77 2 3
remove_processing()
S
81 1 3
set_processing()
S
81 1 3
__construct()
S
77 1 4
get_payment_method()
S
82 1 3
set_payment_method()
S
81 1 3
set_use_billing_agreement()
S
81 1 3
get_payment_method_token_from_paypal_order()
S
74 1 5